<?php

namespace Drupal\shusy_team\ViewsController\handler\filter;

use Drupal\shusy_team\ViewsController\Traits\ShusyTeamStatusTrait;
use views_handler_filter_many_to_one;

class ShusyTeamStatusViewsFilter extends views_handler_filter_many_to_one {

  use ShusyTeamStatusTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "状态 0 无效 1 有效";
      $this->value_options = $this->getStatusOptions();
    }
  }
}
